# -*- coding: utf-8 -*-
from hexunblog.dao.article_dao import ArticleInfoDao


class HexunblogPipeline(object):

    def process_item(self, item, spider):
        ArticleInfoDao.add_item_to_csv(spider.csv_file_path, item)
